package com.yhd.cloudmanage.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 用户活动签到记录表Entity类
 *
 * @author liyan
 * @since 2020-06-11 15:54:29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sign_in_log")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="SignInLog对象", description="用户活动签到记录表")
public class SignInLog implements Serializable {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "自增ID")
        @TableId(value = "sign_in_id", type = IdType.AUTO)
                    private Integer signInId;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
            private Integer userId;

    @ApiModelProperty(value = "活动ID")
    @TableField("activity_id")
            private Integer activityId;

    @ApiModelProperty(value = "创建人ID")
    @TableField("create_by_id")
            private Integer createById;

    @ApiModelProperty(value = "更新人ID")
    @TableField("update_by_id")
            private Integer updateById;

    @ApiModelProperty(value = "当做签到记录时间")
    @TableField("create_time")
            private LocalDateTime createTime;

    @ApiModelProperty(value = "当做签到记录时间")
    @TableField("update_time")
            private LocalDateTime updateTime;
}
